package com.xxwy.ddu.cms.authonrize.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author xxwy
 * @since 2018-09-05
 */
@TableName("bs_menu_detail")
public class MenuDetail extends Model<MenuDetail> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "md_id", type = IdType.AUTO)
    private Integer mdId;


    private Integer mLevel;

    private String mdTitle;

    private String mUrl;

    private String mdIcon;

    private Integer delectFlag;


    public Integer getMdId() {
        return mdId;
    }

    public void setMdId(Integer mdId) {
        this.mdId = mdId;
    }

    public Integer getmLevel() {
        return mLevel;
    }

    public void setmLevel(Integer mLevel) {
        this.mLevel = mLevel;
    }

    public String getMdTitle() {
        return mdTitle;
    }

    public void setMdTitle(String mdTitle) {
        this.mdTitle = mdTitle;
    }

    public String getmUrl() {
        return mUrl;
    }

    public void setmUrl(String mUrl) {
        this.mUrl = mUrl;
    }

    public String getMdIcon() {
        return mdIcon;
    }

    public void setMdIcon(String mdIcon) {
        this.mdIcon = mdIcon;
    }

    public Integer getDelectFlag() {
        return delectFlag;
    }

    public void setDelectFlag(Integer delectFlag) {
        this.delectFlag = delectFlag;
    }

    @Override
    protected Serializable pkVal() {
        return this.mdId;
    }

    @Override
    public String toString() {
        return "MenuDetail{" +
        "mdId=" + mdId +
        ", mLevel=" + mLevel +
        ", mdTitle=" + mdTitle +
        ", mUrl=" + mUrl +
        ", mdIcon=" + mdIcon +
        ", delectFlag=" + delectFlag +
        "}";
    }
}
